docs: replace retired Anthropic model ids in native-provider examples - #7262
Closed
JoaquinDG wants to merge 1 commit into
Closed
docs: replace retired Anthropic model ids in native-provider examples#7262JoaquinDG wants to merge 1 commit into
JoaquinDG wants to merge 1 commit into
Conversation
…ples The Claude 3 family ids used in these examples now return 404 from the Messages API, so a reader copying them gets an error on the first call. Replacements keep the tier the surrounding prose describes: sonnet stays sonnet, haiku stays haiku, opus stays opus. Gateway-routed examples (Portkey, LangDB) are deliberately left alone, since those route through their own model-id namespaces. Translations synced per AGENTS.md.
Contributor
|
Thanks for the pull request. First-time contributors need an associated open issue before we can review a PR.
See the contributing guide. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (16)
📝 WalkthroughWalkthroughThe PR updates Anthropic Claude model identifiers in localized Edge documentation examples. Knowledge and memory examples use newer Sonnet and Haiku identifiers. Agent and LLM selection examples use newer Sonnet and Opus identifiers. ChangesClaude model documentation updates
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the offer I made on #7110. #7003 fixed the retired Gemini ids; the Claude ones
in the same docs are in the same state.
What this changes
Nine Claude 3 family ids used in the native-provider examples now return 404 from the
Messages API. Checked today:
36 occurrences across 4 files and all 4 locales:
learn/llm-selection-guide.mdx(6 per locale)guides/agents/crafting-effective-agents.mdxconcepts/knowledge.mdxconcepts/memory.mdxReplacements keep the tier
claude-sonnet-4-6is already used elsewhere in these docs after #7003, so this isconsistent rather than introducing a new id.
Tier matters here because
llm-selection-guide.mdxis teaching a cost and capabilitytradeoff, which is the point you and I discussed on #7002. So sonnet stays sonnet, haiku
stays haiku (
Memory(llm=...), the cheap path), and opus stays opus(
crafting-effective-agents.mdx, where the prose is about the strongest model). Trailingcomments like
# Best for writingand their Korean and Portuguese translations areuntouched.
Deliberately not included
observability/portkey.mdxandobservability/langdb.mdxalso contain ids that 404 on thedirect API, but those examples route through a gateway with its own model-id namespace, so
I have left them alone rather than guess. Same reasoning as the Bedrock and Vertex id
formats.
Frozen
docs/v*snapshots untouched, and thear,koandpt-BRtranslations are syncedas
AGENTS.mdrequires.